From: Juri Linkov Date: Tue, 23 Mar 2004 07:35:59 +0000 (+0000) Subject: (list-one-abbrev-table): Use window-width instead of frame-width. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~23559 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=78da88808f4c11b7aa232948a86a8b657538f3e4;p=emacs.git (list-one-abbrev-table): Use window-width instead of frame-width. --- diff --git a/lisp/abbrevlist.el b/lisp/abbrevlist.el index 77cf920b422..9c8b0e0d583 100644 --- a/lisp/abbrevlist.el +++ b/lisp/abbrevlist.el @@ -39,7 +39,7 @@ abbrev-table) (setq abbrev-list (sort abbrev-list 'string-lessp)) (while abbrev-list - (if (> (+ first-column 40) (frame-width)) + (if (> (+ first-column 40) (window-width)) (progn (insert "\n") (setq first-column 0)))